<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title> template</title>
</head>
<body>

<form action="" method="post" id="form">
  {% csrf_token  %}

  用户名：<input type="text" name="username" /><br/>
  密码<input type="text" name="password"/> <br/>
  <input type="submit" name="提 交"/>

  </br>

</form>
</body>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</html>
